﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<div class="modal-dialog ms-modal-dialog">
	<div class="modal-content">

		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal">
				<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
			</button>
			<h4 class="modal-title">Session&nbsp;-&nbsp;Search</h4>
		</div>

		<form class="form-horizontal ms-form" role="form" method="GET" action="${ctx.host}/assessors">

			<input type="hidden" name="filter" value="true">

			<div class="modal-body">

				<div class="form-group ms-form-group">
					<label class="col-xs-3 control-label">状态</label>
					<div class="col-xs-7">
						<select name="disabled" class="select2 form-control">
							<option value=""></option>
							<option value="true">冻结</option>
							<option value="false">激活</option>
						</select>
					</div>
				</div>

				<div class="form-group ms-form-group =">
					<label class="col-xs-3 control-label ">注册时间</label>
					<div class="col-xs-7 input-append date">
						<input type="text" class="form-control" name="registerTime" id="datetimepicker" readonly /> <span class="add-on"><i class="icon-th"></i></span>
					</div>
				</div>

				<div class="form-group ms-form-group">
					<label class="col-xs-3 control-label">手机号</label>
					<div class="col-xs-7">
						<input type="text" class="form-control" name="mobile" />
					</div>
				</div>

				<div class="form-group ms-form-group">
					<label class="col-xs-3 control-label">名称</label>
					<div class="col-xs-7">
						<input type="text" class="form-control" name="name" />
					</div>
				</div>

				<div class="form-group ms-form-group">
					<label class="col-xs-3 control-label">医院</label>
					<div class="col-xs-7">
						<input type="text" class="form-control" name="hospital" />
					</div>
				</div>

				<div class="form-group ms-form-group">
					<label class="col-xs-3 control-label">科室</label>
					<div class="col-xs-7">
						<select name="department" class="select2 form-control">
							<option value=""></option>
							<c:forEach items="${departments}" var="depa">
								<option value="${depa}">${depa.description}</option>
							</c:forEach>
						</select>

					</div>
				</div>

			</div>

			<div class="modal-footer">
				<button type="submit" class="btn ms-btn btn-primary">Commit</button>
				<button type="button" class="btn ms-btn ms-btn-gary" data-dismiss="modal">Cancel</button>
			</div>
		</form>
	</div>

<!-- 	<script type="text/javascript">
		$(document).ready(function() {

			$('select').select2({
				placeholder : '请选择',
				minimumResultsForSearch : -1,
				allowClear : true
			});
			$('#datetimepicker').datetimepicker({
				format : 'yyyy-mm-dd',
				minView : 2
			});

		})
	</script>
 -->

</div>
